projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eb7e13
)
ARM: atmel: sama5d4 xplained: enable mmc power
author
Bo Shen
<
[email protected]
>
Fri, 13 Feb 2015 07:53:18 +0000
(15:53 +0800)
committer
Andreas Bießmann
<
[email protected]
>
Wed, 18 Mar 2015 22:36:04 +0000
(23:36 +0100)
Enable the power for MMC/SD port.
Signed-off-by: Bo Shen <
[email protected]
>
board/atmel/sama5d4_xplained/sama5d4_xplained.c
patch
|
blob
|
history
diff --git
a/board/atmel/sama5d4_xplained/sama5d4_xplained.c
b/board/atmel/sama5d4_xplained/sama5d4_xplained.c
index bc2aa38b924c87fef536d79d7206c3ffb44dccd3..e7f225a15539ca2dfce1bd471aa5180ee581f525 100644
(file)
--- a/
board/atmel/sama5d4_xplained/sama5d4_xplained.c
+++ b/
board/atmel/sama5d4_xplained/sama5d4_xplained.c
@@
-228,6
+228,9
@@
void sama5d4_xplained_mci1_hw_init(void)
int board_mmc_init(bd_t *bis)
{
+ /* Enable the power supply */
+ at91_set_pio_output(AT91_PIO_PORTE, 4, 0);
+
return atmel_mci_init((void *)ATMEL_BASE_MCI1);
}
#endif /* CONFIG_GENERIC_ATMEL_MCI */